]> dgit.raspbian.org Git - gnome-shell.git/commit
ci: Prohibit template strings in translatable files
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 18 Feb 2020 16:08:23 +0000 (17:08 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 26 Feb 2020 22:53:00 +0000 (22:53 +0000)
commita7d974e670673b331313098b09ebddd627aab8e3
tree6178c647c02f4eb6ecf30bc127a6a5176d8c19a6
parent7a0c866d97eb1d98d9a651875bbb79fd0539fa2f
ci: Prohibit template strings in translatable files

Sadly, xgettext's dealing with template strings is abysimal, so we
had to stop using them in files with translatable strings.

Make sure we don't accidentally sneak in template strings again(*)
and enforce that rule in a CI job.

(*) easy "mistake", considering how much nicer they are than
    String.prototype.format()

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1016
.gitlab-ci.yml
.gitlab-ci/check-template-strings.sh [new file with mode: 0755]